<html lang="en" xmlns:th="http://www.thymeleaf.org">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>爱打印-iprint 帮助信息列表</title>
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="format-detection" content="telephone=no">
		<link rel="stylesheet" th:href="@{/layui/css/layui.css}" media="all" />
		<link rel="stylesheet" th:href="@{/css/public.css }" media="all" />
	</head>

	<body class="childrenBody">
		<!-- 操作列表 -->
		
		<blockquote class="layui-elem-quote quoteBox">
			<form class="layui-form">
				<div class="layui-inline">
					<div class="layui-input-inline">
						<input type="text" class="layui-input searchVal" placeholder="请输入文章标题" />
					</div>
					<a class="layui-btn search_btn" data-type="reload">搜索</a>
				</div>
				<div class="layui-inline">
					<a class="layui-btn layui-btn-normal addNews_btn">添加文章</a>
				</div>
			</form>
		</blockquote>
		<table id="infoList" lay-filter="newsList"></table>
		<dir id="pageType" th:title="${type }"></dir>
		<!--审核状态-->
		<script type="text/html" id="infoStatus">
		{{#  if(d.state == "1"){ }}
		<span class="layui-red">发布</span>
		{{#  } else if(d.state == "0"){ }}
		<span class="layui-blue">草稿</span>
		{{#  } else { }}
			错误
		{{#  }}}
		</script>
		<script type="text/html" id="infoType">
		{{#  if(d.category == "helpinfo"){ }}
		<span class="layui-red">帮助信息</span>
		{{#  } else if(d.category == "adsinfo"){ }}
		<span class="layui-blue">广告信息</span>
		{{#  } else { }}
			错误
		{{#  }}}
		</script>
		<!--操作-->
		<script type="text/html" id="newsListBar">
		    <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
		    <a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="del">删除</a>
	    </script>
		<script type="text/javascript" th:src="@{/layui/layui.js }"></script>
		<script th:src="@{/js/helpinfo.js}"></script>
</body>

</html>